package com.bootdo.essential.dao;

import com.bootdo.essential.domain.BankDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-12-23 16:56:34
 */
@Mapper
public interface BankDao {

	BankDO get(Long id);

	BankDO getByUser(Long userId);
	
	List<BankDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(BankDO bank);
	
	int update(BankDO bank);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
